Using flow layouts
Flow layout places 3D objects in rows. When a row is full, it places objects in a new row. You can set the direction and the starting point for laying out objects in a flow layout to any of the three axes.
Creating a flow layout
To create a flow layout:
- In the Project right-click the scene where you want to create a flow layout and select Create > Flow Layout.
- Add several objects to the flow layout.
For example, in the Project right-click the flow layout and select Create > Sphere.
As you add objects, Kanzi Studio positions them along the axes defined by the Primary Direction and Secondary Direction properties.
Setting the direction of a flow layout
For a flow layout you can set both the starting point and the direction in which Kanzi adds objects to a flow layout.
To set the direction of a flow layout:
- Create a flow layout and add objects to it.
For example, add nine Sphere objects.
- In the Properties set the flow layout direction:
- Primary Direction. This is the direction along which the objects are laid out until they reach the limit of the flow layout.
For example, for a flow layout with a Primary Direction set to Left to Right, the limit is set by the Layout Width property. However, if the Primary Direction is set to Near to Far, the limit is set by the Layout Depth property. - Secondary Direction. This is the direction along which the objects are laid out when the objects exceed the limit set by the Primary Direction.
For example, to set a layout where objects are first added from the left to right and then from top to bottom, set the Primary Direction to Left to Right and Secondary Direction to Top to Bottom.
Note that in order to make the flow layout go in the direction defined by the Secondary Direction, you must set the limit for the Primary Direction.
See also
Layouts
Using flow layers
Open topic with navigation